import App from './App'

// #ifndef VUE3

import Vue from 'vue'
import httpApi from './common/httpLbApi'
import HttpRequest from './common/httpRequest'
import configs from './common/config.js'
import './uni.promisify.adaptor'
import uView from 'uview-ui'
import common from './utils/noClick.js'
import pageTools from './utils/orange-page-tools/orange-page-tools/page-tools.js';

Vue.use(pageTools);
Vue.prototype.$no = common.noMutClick;
Vue.use(uView)
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$api = httpApi
Vue.prototype.$Request = HttpRequest
Vue.prototype.$configs = configs
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif